<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>


  <form method="post" action="/Article/AddArticle" enctype="multipart/form-data">
      <h3>添加文章</h3>
      <label>文章标题</label>
      <input type="text" name="articleName" >
<br/>
      <label>文章类型：</label><br/>
      <select name="select" >
          {{range .artiTypes}}
          <option>{{.TypeName}}</option>
          {{end}}
      </select><br/>
      <label>文章内容：</label>
      <textarea name="content">

      </textarea>

      <label>上传图片：</label>
      <input type="file" name="uploadname">

      <input type="submit" value="添加">
  </form>


</body>
</html>